<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>

<html  xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<title>Conversations | EchoWaves (Social Group Chat)</title>
  <link rel="shortcut icon" href="/favicon.ico"/>
 	
  <link rel="stylesheet" href="/stylesheets/screen.css" type="text/css" media="screen, projection"/>
  <link rel="stylesheet" href="/stylesheets/print.css" type="text/css" media="print"/> 
  <!--[if IE]>
    <link rel="stylesheet" href="/stylesheets/ie.css" type="text/css" media="screen, projection"/>
  <![endif]-->
  <link rel="stylesheet" href="/stylesheets/style.css" type="text/css" media="screen, projection"/>
  <%= stylesheet_link_tag 'default' %>
 	<%= javascript_include_tag :defaults %> 	
 	<%= stylesheet_link_tag 'unitip' %>
	<%= javascript_include_tag 'unitip' %>
	<%= yield(:header) %>
</head>

<body onload="Misc.focusInput('conversation_name');">
  
	<div id="header_container"><%= render(:partial => "shared/header") %></div>
  
	<div id="main_content" class="container">
		<div id="col1" class="span-14">
			<%= yield(:convo_header) %>
			<div class="box round">
				<%= flash_messages %>
				<div class="box-content">
					<%= yield  %>
				</div>
			</div>
		</div>
		<div id="sidebars" class="span-10 last">
			<div id="sidebars_container">
				<%= render :partial => 'shared/dashboard' %>
				<div class="span-10"><%= yield(:sidebar_bottom) %></div>
			</div>
		</div>

	</div>


	<div id="footer_container"><%= render(:partial => "shared/footer") %></div>
	<%#for now lets poll for new messages in conversations that are off the screen%>  
	<%= periodically_call_remote :url => {:controller => 'users', :action => 'update_news'}, 
		:frequency => UPDATE_NEW_MESSAGES_FREQUENCY*5, :complete => 'ShowUnreadMessagesInFluidapp();' %> 
	
  
  <%#do not remove this scrips partial, used by google stats, ie6 detector, etc...%>
  <%#----------------------------------------------------------------------------%>
  <%= render :partial => "shared/scripts"%>
</body>
</html>
